
package org.darcy.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Table;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@ApiModel(": SysResources")
@Table(name = "sys_resources")
@Getter
@Setter
public class SysResources implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="")
	@TableId(type= IdType.AUTO)
	private Long id;
	
	@ApiModelProperty(value="")
	private String name;
	
	@ApiModelProperty(value="")
	private String type;
	
	@ApiModelProperty(value="")
	private String url;
	
	@ApiModelProperty(value="")
	private String permission;
	
	@ApiModelProperty(value="")
	private Long parentId;
	
	@ApiModelProperty(value="")
	private Integer sort;
	
	@ApiModelProperty(value="是否外部链接")
	private Byte external;
	
	@ApiModelProperty(value="")
	private Byte available;
	
	@ApiModelProperty(value="菜单图标")
	private String icon;
	
	@ApiModelProperty(value="添加时间")
	private Date createTime;
	
	@ApiModelProperty(value="更新时间")
	private Date updateTime;
	


}
